//
//  ShopCartTableViewCell.m
//  ShoppingExperience
//
//  Created by LiYinDi on 15-1-7.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import "ShopCartTableViewCell.h"

@implementation ShopCartTableViewCell

- (void)awakeFromNib {
    // Initialization code
    _priceDetailBtn.layer.borderColor=[[UIColor colorWithRed:239.0f/255.0f green:239.0f/255.0f blue:239.0f/255.0f alpha:1] CGColor];
    _priceDetailBtn.layer.borderWidth= 1.0f;
    _priceDetailBtn.layer.cornerRadius=4;
    
    
    _prouctImageView.layer.borderColor=[[UIColor colorWithRed:239.0f/255.0f green:239.0f/255.0f blue:239.0f/255.0f alpha:1] CGColor];
    _prouctImageView.layer.borderWidth= 1.0f;
     _prouctImageView.layer.masksToBounds = YES;
    _prouctImageView.layer.cornerRadius=10;
}
-(IBAction)priceDetailBtnClick:(UIButton *)sender
{
    if ([self.delegate respondsToSelector:@selector(priceDetailClick:)]) {
       
        [self.delegate priceDetailClick:sender.tag];
    }
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
